-
Ex6_Luc98 can be proved µ-terminating by using
Lucas' transformation. The TRS Ex6_Luc98_L:
first(0,X) -> nil
first(s(X),cons(Y)) -> cons(Y)
from(X) -> cons(X)
can be proved terminating (use
MuTerm).
-
Ex6_Luc98 can be proved µ-terminating by using
Zantema's transformation. The TRS Ex6_Luc98_Z:
first(0,X) -> nil
first(s(X),cons(Y,Z)) -> cons(Y,n__first(X,activate(Z)))
from(X) -> cons(X,n__from(s(X)))
first(X1,X2) -> n__first(X1,X2)
from(X) -> n__from(X)
activate(n__first(X1,X2)) -> first(X1,X2)
activate(n__from(X)) -> from(X)
activate(X) -> X
can be proved terminating (use
MuTerm).
-
The µ-termination of Ex6_Luc98 can also
be proved by using Ferreira and Ribeiro's transformation. The TRS Ex6_Luc98_FR:
first(0,X) -> nil
first(s(X),cons(Y,Z)) -> cons(Y,n__first(X,activate(Z)))
from(X) -> cons(X,n__from(n__s(X)))
first(X1,X2) -> n__first(X1,X2)
from(X) -> n__from(X)
s(X) -> n__s(X)
activate(n__first(X1,X2)) -> first(activate(X1),activate(X2))
activate(n__from(X)) -> from(activate(X))
activate(n__s(X)) -> s(activate(X))
activate(X) -> X
can be proved terminating (use
CiME).
-
The µ-termination of Ex6_Luc98 can also
be proved by using Giesl and Middeldorp's transformation: the TRS Ex6_Luc98_GM:
a__first(0,X) -> nil
a__first(s(X),cons(Y,Z)) -> cons(mark(Y),first(X,Z))
a__from(X) -> cons(mark(X),from(s(X)))
mark(first(X1,X2)) -> a__first(mark(X1),mark(X2))
mark(from(X)) -> a__from(mark(X))
mark(0) -> 0
mark(nil) -> nil
mark(s(X)) -> s(mark(X))
mark(cons(X1,X2)) -> cons(mark(X1),X2)
a__first(X1,X2) -> first(X1,X2)
a__from(X) -> from(X)
can be proved terminating (use
MuTerm).
-
The µ-termination of Ex6_Luc98 is proved in [BLR02, Example 7]
by using CSRPO and also computed automatically by
MuTerm:
-
The µ-termination of Ex6_Luc98 can also be proved by using
a polynomial interpretation (computed
by MuTerm):
Proof of termination for CS-TRS Ex6_Luc98:
[first](X1,X2) = X1 + 2.X2
[0] = 1
[nil] = 0
[s](X) = X
[cons](X1,X2) = X1 + 1
[from](X) = X + 2
-
The µ-termination of Ex6_Luc98 can also be proved by using
CSDP(computed
by MuTerm).